package lianshoo;

import org.w3c.dom.ls.LSOutput;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in) ;
        System.out.println("请输入一个整数:");
        int num = sc.nextInt();
        System.out.println("接收到的整数为:"+num);
        System.out.println("请输入一个字符串:");
        String s = sc.next();
        System.out.println("接收到的字符串为:"+s);


    }


}
